package com.zfk.transaction.mapper;

import com.zfk.transaction.entity.Product;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface GoodsListMapper {

    List<Product> getByChannelId(int channel_id);

    Product getById(String product_id);

    List<Product> getByLikeName(String name);

    List<Product> getByUserId(String user_id);

    int deleteById(String product_id);

    int update(Product product);
}
